#include <stdio.h>
#include <getopt.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <assert.h>
#include <ctype.h>
#include "types.h"
#include "elftypes.h"
#include "prxtypes.h"
Functions | |
| int | process_args (int argc, char **argv) |
| void | print_help (void) |
| unsigned char * | load_file (const char *file) |
| int | validate_header (unsigned char *data) |
| int | load_sections (unsigned char *data) |
| int | remove_weak_relocs (struct ElfSection *pReloc, struct ElfSection *pSymbol, struct ElfSection *pString) |
| int | process_relocs (void) |
| void | reindex_sections (void) |
| int | load_elf (const char *elf) |
| int | calculate_outsize (void) |
| void | output_header (unsigned char *data) |
| void | output_ph (unsigned char *data) |
| void | output_alloc (unsigned char *data) |
| void | output_sh (unsigned char *data) |
| void | output_relocs (unsigned char *data) |
| void | output_shstrtab (unsigned char *data) |
| int | output_prx (const char *prxfile) |
| void | free_data (void) |
| int | main (int argc, char **argv) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
1.4.6